package com.runoob.visitor;

import com.runoob.base.Computer;
import com.runoob.base.Keyboard;
import com.runoob.base.Monitor;
import com.runoob.base.Mouse;

/**
 * 访问者
 */
public interface ComputerPartVisitor {
    void visit(Computer computer);

    void visit(Mouse mouse);

    void visit(Keyboard keyboard);

    void visit(Monitor monitor);
}